﻿CREATE TABLE [ServiceEngine].[Entities_EntityGroups](
	[Entities_EntityGroupsID] [uniqueidentifier] ROWGUIDCOL  NOT NULL CONSTRAINT [DF_Entities_EntityGroups_Entities_EntityGroupsID]  DEFAULT (newid()),
	[EntityID] [uniqueidentifier] NOT NULL,
	[EntityGroupID] [uniqueidentifier] NOT NULL,
 CONSTRAINT [PK_Entities_EntityGroups] PRIMARY KEY CLUSTERED 
(
	[Entities_EntityGroupsID] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]


